package com.zhai.domain.activity.model.entity;

import com.zhai.domain.activity.model.valobj.UserRaffleOrderStateVO;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

/**
 * @Description: 用户参与记录实体
 * @ClassName: UserRaffleOrderEntity
 * @Author: zhaiyongxin
 * @Date: 2025/2/27 14:54
 * @Version: 1.0
 */
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class UserRaffleOrderEntity {
    /**用户ID */
    private String userId;
    /**活动ID */
    private Long activityId;
    /**活动名称 */
    private String activityName;
    /**抽奖策略ID */
    private Long strategyId;
    /**订单ID */
    private String orderId;
    /**下单时间 */
    private Date orderTime;
    /**活动结束时间 */
    private Date endDateTime;
    /**订单状态；create-创建、used-已使用、cancel-已作废 */
    private UserRaffleOrderStateVO orderState;
}
